//
//  PubString.h
//  JinYong_iOS_Store
//
//  Created by 王厚一 on 2017/10/17.
//  Copyright © 2017年 why. All rights reserved.
//

#ifndef PubString_h
#define PubString_h

//BaseURL
#define Base_URL @"http://www.jinyongshenghuo.com"
#define PAY_URL @"http://pay.jinyongshenghuo.com"
#define Login_URL @"http://ucenter.jinyongshenghuo.com"

//push
#define appKeyJPush @"eb0ed350902b58df3286892d"
#define CHANNEL @"App Store"


//Notification
#define NOTIFICATION_LOGINSUCCESS     @"NOTIFICATION_LOGINSUCCESS"
#define NOTIFICATION_LOGOUTSUCCESS     @"NOTIFICATION_LOGOUTSUCCESS"
#define NOTIFICATION_JPUSHGETORDER    @"NOTIFICATION_JPUSHGETORDER"

#define  NSUDUD                          [NSUserDefaults standardUserDefaults]
//UserInfo
#define kKey                             @"key"
#define kUserId                          @"user_id"
#define kLogo                            @"logo"
#define kName                            @"name"
#define kRequestUserId                   [NSUDUD objectForKey:kUserId]
#define kRequestKey                      [NSUDUD objectForKey:kKey]
#define kRequestLogo                     [NSUDUD objectForKey:kLogo]
#define kRequestName                    [NSUDUD objectForKey:kName]

//用户是否登陆
#define  kUserLoginStatus                @"kUserLoginStatus"
#define  kUserLoginResult                [NSUDUD boolForKey:kUserLoginStatus]


//未接订单和已接订单数量
#define kOrderUnfinishedNum              @"kOrderUnfinishedNum"
#define kOrderUnfinishedResult           [NSUDUD objectForKey:kOrderUnfinishedNum]
#define kOrderFinishedNum                @"kOrderFinishedNum"
#define kOrderFinishedResult             [NSUDUD objectForKey:kOrderFinishedNum]

#endif /* PubString_h */
